<%--
  Created by IntelliJ IDEA.
  User: chinalin
  Date: 2017/3/29
  Time: 10:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
    <title>显示客户列表</title>
</head>
<body>

<table border="1">
    <tr>
        <th>用户ID</th>
        <th>用户名</th>
        <th>联系人</th>
        <th>电  话</th>
        <th>email </th>
        <th>备  注</th>
    </tr>
    <c:forEach items="${customerList}" var="customer"><%--//获取list--%>
        <tr>
            <td>${customer.id}</td>         <%--//.出javabean的属性--%>
            <td>${customer.name}</td>
            <td>${customer.contact}</td>
            <td>${customer.telephone}</td>
            <td>${customer.email}</td>
            <td>${customer.remark}</td>
        </tr>
    </c:forEach>
</table>

</body>
</html>
